<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Platform_type')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-platform_type" class="form-control selectpicker" name="row[platform_type]">
                {foreach name="platformTypeList" item="vo"}
                <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">导入类型:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">

                <label for="row[daoru_type]-1"><input id="row[daoru_type]-1" name="row[daoru_type]" type="radio" value="1"/> 更新状态</label>
                <label for="row[daoru_type]-2"><input id="row[daoru_type]-2" name="row[daoru_type]" type="radio" value="2"/> 录入订单</label>

            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">上传文件:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" class="form-control" size="50" name="row[image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="*" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">运营商:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-supplier" data-source="packagestwo/twoindex" data-field="supplier" class="form-control selectpage" name="row[supplier]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
